#define _CRT_SECURE_NO_WARNINGS 1

#include"Sort.h"

void Print(int* a, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
}
void Test1()
{
	//int arr[] = { 3,10,9,9,2,3,2,19 };
	int arr[] = { 10,9,9,9,9,98,3,2,4,5,6,1 };
	int sz = sizeof(arr) / sizeof(arr[0]);

	Print(arr, sz);
	//QuickSort(arr, 0, sz - 1);
	//QuickSort2(arr, 0, sz - 1);
	QuickSort3(arr, 0, sz - 1);
	Print(arr, sz);

}

int main()
{
	Test1();
	return 0; 
}


